package cn.com.yiqi.wsc.service.task;

import cn.com.yiqi.wsc.service.lottery.LotteryActivityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author 何刚
 * @version V1.0
 * @Title: LotteryActivityTask
 * @Package cn.com.yiqi.wsc.service.task
 * @Description: 活动状态修改定时任务
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @date 2017/3/28
 */
@Component("lotteryActivityTask")
public class LotteryActivityTask {

    @Autowired
    private LotteryActivityService lotteryActivityService;

    /**
     * qutarz 调用方方法
     */
    public void refreshStatusByNowTime() {

        lotteryActivityService.refreshStatusByNowTime();

    }


}
